package campus.aiit.ssl.domain.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author ihaokun
 * @date 2019/12/31 16:28
 */
@Getter@Setter@JsonInclude(JsonInclude.Include.NON_NULL)
public class User {
  private String id;
  private String name;
  private String password;
  private byte roleId;//超级管理员：0、教职工：1、物业：2、普通用户：3
  private Date createTime;
  private Date updateTime;

  /** Additional Fields */
  long[] deviceIds;
  Device[] devices;
  long[] blockIds;
  Block[] blocks;
}